<template>
    <component :is="obj.type" :model="obj"></component>
</template>

<script>
import userInfo from './components/user/index.vue'
import theme from './components/theme/index.vue'
export default {
    name: "setPanel",
    components:{ theme, userInfo},
    props: {
        obj:{
            type: Object,
            default: 'userInfo'
        }
    }
}
</script>

<style scoped>

</style>
